#ifndef COMPILE_PRINCIPLE_LEX
#define COMPILE_PRINCIPLE_LEX

#include "tool.h"
#include "syntax.h"
namespace cp{

extern int col, row;
extern char (*nextChar)();

inline bool isLayout(char c){
	return c <= ' ' && c;
}

inline const char* skipLayout(const char* p){
	while (*p && *p <= ' ') ++p;
	return p;
}

}

#endif



